package com.base.common.edu.mapper;

import com.base.common.edu.entity.ScholarshipRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Maple.Chen
 * @Description 数据交互层 - 奖学金记录管理
 * @Date 12:02 2021/2/25
 **/
@Mapper
@Repository
public interface ScholarshipMapper {

    // 新增奖学金记录
    int addScholarshipRecord(@Param("sch_record") ScholarshipRecord scholarshipRecord);
    // 删除奖学金记录
    int delScholarshipRecord(@Param("sch_re_id") Integer sch_re_id);
    // 查询奖学金记录
    List<ScholarshipRecord> queryScholarshipRecord(@Param("sch_record") ScholarshipRecord scholarshipRecord);
    // 修改奖学金记录
    int updateScholarshipRecord(@Param("sch_record") ScholarshipRecord scholarshipRecord);

}
